

INCLUDE = inc/

test: Button.o ButtonManager.o main.o
	gcc $^ -o $@ -lwinmm -Wl,-subsystem,console

Button.o:
	gcc -c src/Button.c -I$(INCLUDE)

ButtonManager.o:
	gcc -c src/ButtonManager.c -I$(INCLUDE)

main.o:
	gcc -c main.c -I$(INCLUDE)

.PHONY: clean
clean:
	del *.o test.exe